﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace DefeatEpidemic.Migrations
{
    public partial class ChangeCommunityModel : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "labelNumber",
                table: "Community",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "status",
                table: "Community",
                nullable: false,
                defaultValue: 0);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "labelNumber",
                table: "Community");

            migrationBuilder.DropColumn(
                name: "status",
                table: "Community");
        }
    }
}
